using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.CommonManageModel
{

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class ConvertMode {

		[JsonProperty, Column(Name = "CM_ID", DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
		public string CM_ID { get; set; }

		//[JsonProperty, Column(Name = "AT_Code", DbType = "varchar(100)")]
		//public string AT_Code { get; set; }

		//[JsonProperty, Column(Name = "AT_ID", DbType = "varchar(50)")]
		//public string AT_ID { get; set; }

		/// <summary>
		/// 关联案件类型
		/// </summary>
		[JsonProperty, Column(Name = "CM_CaseType", DbType = "varchar(100)")]
		public string CM_CaseType { get; set; }

		[JsonProperty, Column(Name = "CM_CMode")]
		public Nullable<int> CM_CMode { get; set; }

		[JsonProperty, Column(Name = "CM_Code", DbType = "varchar(100)")]
		public string CM_Code { get; set; }

		[JsonProperty, Column(Name = "CM_CodeCH", StringLength = 100)]
		public string CM_CodeCH { get; set; }

		/// <summary>
		/// 是否自定义，主要用于卷宗转换配置标记是否自定义转换
		/// </summary>
		[JsonProperty, Column(Name = "CM_Custom")]
		public Nullable<int> CM_Custom { get; set; }

		[JsonProperty, Column(Name = "CM_Method", DbType = "varchar(100)")]
		public string CM_Method { get; set; }

		[JsonProperty, Column(Name = "CM_MethodFormat", DbType = "varchar(100)")]
		public string CM_MethodFormat { get; set; }

		[JsonProperty, Column(Name = "CM_MethodParameter", DbType = "varchar(100)")]
		public string CM_MethodParameter { get; set; }

		[JsonProperty, Column(Name = "CM_Remark", DbType = "varchar(200)")]
		public string CM_Remark { get; set; }

		[JsonProperty, Column(Name = "CM_UpdateTime")]
		public Nullable<DateTime> CM_UpdateTime { get; set; }

		/// <summary>
		/// 关联xmlpath
		/// </summary>
		[JsonProperty, Column(Name = "CM_XmlPath", DbType = "varchar(200)")]
		public string CM_XmlPath { get; set; }

	}

}
